<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<c:set var="currentUser" value="${sessionScope.get('currentUser')}"></c:set>
<html class="no-js">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <title>软件管理平台</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width">
    <link href="${ctx}/statics/css/common/common.css" rel='stylesheet'/>
    <link href="${ctx}/statics/assets/bootstrap/css/bootstrap.css" rel="stylesheet"/>
    <link href="${ctx}/statics/css/font-awesome-4.5.0/css/font-awesome.css" rel="stylesheet"/>
    <link href="${ctx}/statics/css/login.css" rel="stylesheet">

    <%--<script src="../statics/assets/jquery/jquery-3.1.0.js"></script>--%>
    <script src="${ctx}/statics/assets/jquery/jquery-3.1.0.min.js"></script>
    <script src="${ctx}/statics/assets/layui-layer-v2.4/layer.js" type="text/javascript"></script>
    <script src="${ctx}/statics/assets/jquery/jquery.base64.js" type="text/javascript"></script>
    <script src="${ctx}/statics/js/login.js" type="text/javascript"></script>

</head>
<body>
<div class="main">
    <div class="signinpanel">
        <div class="row">
            <form method="post" action="${ctx}/authorization/auth">
                <h4 class="no-margins">登录：</h4>
                <p class="m-t-md"></p>
                <input type="text" class="form-control uname" name="userName" placeholder="用户名" />
                <input type="password" class="form-control pword m-b" name="pwdinput" placeholder="密码" />
                <input type="hidden" name="passWord" value=""/>
                <a href="#">忘记密码了？</a>
                <button class="btn btn-success btn-block">登录</button>
                <div style="display: none;">
                    <input type="hidden" id="errorMsg" value="${errorMsg}"/>
                    <input type="hidden" id="errorType" value="${errorType}"/>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>